package com.cskaoyan.app.bean.bo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;


@Data
public class LoginBO {

	@NotBlank(message = "用户名不能为空")
	private String username;
	@Length(min = 6, message = "密码长度至少6位")
	private String password;
}